home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00107_Script_flashTourButton
< prev
next >
Wrap
Text File
|
1999-04-25
|
2KB
|
88 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
-------*This script is not used in this version of the movie*----------
property mySprite, NeutralName, startAnimation, maxFlashSpeed,¼
AnimationIsOver,planeName,flashSpeed,memberCount
on new me
set startAnimation = TRUE
set AnimationIsOver = FALSE
set memberCount = 14
set maxFlashSpeed = 2
set mySprite = the spriteNum of me
set NeutralName = getNeutralName(me, mySprite)
set planeName = getPlaneName (me)
end
on getPlaneName me
set Name = ""
repeat with i = the Number of Chars in NeutralName down to 1
set myChar = char i of NeutralName
if myChar <> "-" then
set Name = myChar&Name
else
exit repeat
end if
end repeat
return Name
end
on getNeutralName me,SpriteNum
set aMember = the member of sprite spriteNum
set Name = the name of member aMember
return Name
end
on exitFrame me
if startAnimation then
flashPlane me
go the frame
end if
if AnimationIsOver then
go to frame "Pexterior"
end if
end
on flashPlane me
if flashSpeed >= maxFlashSpeed then
set the member of sprite mySprite = memberCount&"-"&planeName
set memberCount = memberCount+1
set flashSpeed = 0
if memberCount > 19 then
set startAnimation = FALSE
set AnimationIsOver = TRUE
end if
end if
set flashSpeed = flashSpeed+1
end